package com.ensentec.Lib;

/**
 * Created by ztlchina on 17-7-28.
 */

public class IOCtrl {

    // Used to load the 'native-lib' library on application startup.
    static {
        System.loadLibrary("native-lib");
    }


    private static final IOCtrl ourInstance = new IOCtrl();

    public static IOCtrl getInstance() {
        return ourInstance;
    }

    private IOCtrl() {
    }



    /**
     * A native method that is implemented by the 'native-lib' native library,
     * which is packaged with this application.
     */

//    public native void   motorRun();
//    public native void   motorRunInvert();
//    public native void   motorStop();
//    public native void   pushRod1Push();
//    public native void   pushRod1Pull();
//    public native void   pushRod2Push();
//    public native void   pushRod2Pull();
//    public native void   lock1Open();
//    public native void   lock2Open();
//    public native void   lock3Open();
//    public native void   lock4Open();
//    public native void   lock5Open();
//    public native void   IO485Write();
//    public native void   IO485Read();
//    public native String IOStatus();
}
